package com.woniuxy.ui;

import com.woniuxy.entity.Student;
import com.woniuxy.service.StudentService;
import com.woniuxy.service.impl.StudentServiceImpl;

import java.util.List;

/**
 * @author 作者
 * @create 2025-08-05 11:39
 */
public class StudentMenu {

    static StudentService studentService=new StudentServiceImpl();

    public static void getAllStudents(){
        List<Student> students = studentService.getAll();
        System.out.println("学生列表");
        for (Student student : students) {
            System.out.println(student);
        }
    }

}
